package com.love.order.controller;

import com.love.common.feign.user.UserFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO description
 *
 * @author sunbo
 * @date 2021/5/11 上午10:46
 */
@RestController
@RequestMapping("order")
public class OrderController {

    @Autowired
    private UserFeign userFeign;

    @GetMapping("name")
    public String test(String name) {
        return userFeign.test(name);
    }

}
